package ystp.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ChuangxinchanpinExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ChuangxinchanpinExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIsNull() {
            addCriterion("xiangmuid is null");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIsNotNull() {
            addCriterion("xiangmuid is not null");
            return (Criteria) this;
        }

        public Criteria andXiangmuidEqualTo(String value) {
            addCriterion("xiangmuid =", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotEqualTo(String value) {
            addCriterion("xiangmuid <>", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidGreaterThan(String value) {
            addCriterion("xiangmuid >", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidGreaterThanOrEqualTo(String value) {
            addCriterion("xiangmuid >=", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLessThan(String value) {
            addCriterion("xiangmuid <", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLessThanOrEqualTo(String value) {
            addCriterion("xiangmuid <=", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLike(String value) {
            addCriterion("xiangmuid like", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotLike(String value) {
            addCriterion("xiangmuid not like", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIn(List<String> values) {
            addCriterion("xiangmuid in", values, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotIn(List<String> values) {
            addCriterion("xiangmuid not in", values, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidBetween(String value1, String value2) {
            addCriterion("xiangmuid between", value1, value2, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotBetween(String value1, String value2) {
            addCriterion("xiangmuid not between", value1, value2, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengIsNull() {
            addCriterion("yaopinmingcheng is null");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengIsNotNull() {
            addCriterion("yaopinmingcheng is not null");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengEqualTo(String value) {
            addCriterion("yaopinmingcheng =", value, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengNotEqualTo(String value) {
            addCriterion("yaopinmingcheng <>", value, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengGreaterThan(String value) {
            addCriterion("yaopinmingcheng >", value, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengGreaterThanOrEqualTo(String value) {
            addCriterion("yaopinmingcheng >=", value, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengLessThan(String value) {
            addCriterion("yaopinmingcheng <", value, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengLessThanOrEqualTo(String value) {
            addCriterion("yaopinmingcheng <=", value, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengLike(String value) {
            addCriterion("yaopinmingcheng like", value, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengNotLike(String value) {
            addCriterion("yaopinmingcheng not like", value, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengIn(List<String> values) {
            addCriterion("yaopinmingcheng in", values, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengNotIn(List<String> values) {
            addCriterion("yaopinmingcheng not in", values, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengBetween(String value1, String value2) {
            addCriterion("yaopinmingcheng between", value1, value2, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengNotBetween(String value1, String value2) {
            addCriterion("yaopinmingcheng not between", value1, value2, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andGuigeIsNull() {
            addCriterion("guige is null");
            return (Criteria) this;
        }

        public Criteria andGuigeIsNotNull() {
            addCriterion("guige is not null");
            return (Criteria) this;
        }

        public Criteria andGuigeEqualTo(String value) {
            addCriterion("guige =", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeNotEqualTo(String value) {
            addCriterion("guige <>", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeGreaterThan(String value) {
            addCriterion("guige >", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeGreaterThanOrEqualTo(String value) {
            addCriterion("guige >=", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeLessThan(String value) {
            addCriterion("guige <", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeLessThanOrEqualTo(String value) {
            addCriterion("guige <=", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeLike(String value) {
            addCriterion("guige like", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeNotLike(String value) {
            addCriterion("guige not like", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeIn(List<String> values) {
            addCriterion("guige in", values, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeNotIn(List<String> values) {
            addCriterion("guige not in", values, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeBetween(String value1, String value2) {
            addCriterion("guige between", value1, value2, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeNotBetween(String value1, String value2) {
            addCriterion("guige not between", value1, value2, "guige");
            return (Criteria) this;
        }

        public Criteria andDanweiIsNull() {
            addCriterion("danwei is null");
            return (Criteria) this;
        }

        public Criteria andDanweiIsNotNull() {
            addCriterion("danwei is not null");
            return (Criteria) this;
        }

        public Criteria andDanweiEqualTo(String value) {
            addCriterion("danwei =", value, "danwei");
            return (Criteria) this;
        }

        public Criteria andDanweiNotEqualTo(String value) {
            addCriterion("danwei <>", value, "danwei");
            return (Criteria) this;
        }

        public Criteria andDanweiGreaterThan(String value) {
            addCriterion("danwei >", value, "danwei");
            return (Criteria) this;
        }

        public Criteria andDanweiGreaterThanOrEqualTo(String value) {
            addCriterion("danwei >=", value, "danwei");
            return (Criteria) this;
        }

        public Criteria andDanweiLessThan(String value) {
            addCriterion("danwei <", value, "danwei");
            return (Criteria) this;
        }

        public Criteria andDanweiLessThanOrEqualTo(String value) {
            addCriterion("danwei <=", value, "danwei");
            return (Criteria) this;
        }

        public Criteria andDanweiLike(String value) {
            addCriterion("danwei like", value, "danwei");
            return (Criteria) this;
        }

        public Criteria andDanweiNotLike(String value) {
            addCriterion("danwei not like", value, "danwei");
            return (Criteria) this;
        }

        public Criteria andDanweiIn(List<String> values) {
            addCriterion("danwei in", values, "danwei");
            return (Criteria) this;
        }

        public Criteria andDanweiNotIn(List<String> values) {
            addCriterion("danwei not in", values, "danwei");
            return (Criteria) this;
        }

        public Criteria andDanweiBetween(String value1, String value2) {
            addCriterion("danwei between", value1, value2, "danwei");
            return (Criteria) this;
        }

        public Criteria andDanweiNotBetween(String value1, String value2) {
            addCriterion("danwei not between", value1, value2, "danwei");
            return (Criteria) this;
        }

        public Criteria andJiageIsNull() {
            addCriterion("jiage is null");
            return (Criteria) this;
        }

        public Criteria andJiageIsNotNull() {
            addCriterion("jiage is not null");
            return (Criteria) this;
        }

        public Criteria andJiageEqualTo(String value) {
            addCriterion("jiage =", value, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageNotEqualTo(String value) {
            addCriterion("jiage <>", value, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageGreaterThan(String value) {
            addCriterion("jiage >", value, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageGreaterThanOrEqualTo(String value) {
            addCriterion("jiage >=", value, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageLessThan(String value) {
            addCriterion("jiage <", value, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageLessThanOrEqualTo(String value) {
            addCriterion("jiage <=", value, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageLike(String value) {
            addCriterion("jiage like", value, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageNotLike(String value) {
            addCriterion("jiage not like", value, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageIn(List<String> values) {
            addCriterion("jiage in", values, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageNotIn(List<String> values) {
            addCriterion("jiage not in", values, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageBetween(String value1, String value2) {
            addCriterion("jiage between", value1, value2, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageNotBetween(String value1, String value2) {
            addCriterion("jiage not between", value1, value2, "jiage");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaIsNull() {
            addCriterion("shengchanchangjia is null");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaIsNotNull() {
            addCriterion("shengchanchangjia is not null");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaEqualTo(String value) {
            addCriterion("shengchanchangjia =", value, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaNotEqualTo(String value) {
            addCriterion("shengchanchangjia <>", value, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaGreaterThan(String value) {
            addCriterion("shengchanchangjia >", value, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaGreaterThanOrEqualTo(String value) {
            addCriterion("shengchanchangjia >=", value, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaLessThan(String value) {
            addCriterion("shengchanchangjia <", value, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaLessThanOrEqualTo(String value) {
            addCriterion("shengchanchangjia <=", value, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaLike(String value) {
            addCriterion("shengchanchangjia like", value, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaNotLike(String value) {
            addCriterion("shengchanchangjia not like", value, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaIn(List<String> values) {
            addCriterion("shengchanchangjia in", values, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaNotIn(List<String> values) {
            addCriterion("shengchanchangjia not in", values, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaBetween(String value1, String value2) {
            addCriterion("shengchanchangjia between", value1, value2, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaNotBetween(String value1, String value2) {
            addCriterion("shengchanchangjia not between", value1, value2, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andZhixingshijianIsNull() {
            addCriterion("zhixingshijian is null");
            return (Criteria) this;
        }

        public Criteria andZhixingshijianIsNotNull() {
            addCriterion("zhixingshijian is not null");
            return (Criteria) this;
        }

        public Criteria andZhixingshijianEqualTo(String value) {
            addCriterion("zhixingshijian =", value, "zhixingshijian");
            return (Criteria) this;
        }

        public Criteria andZhixingshijianNotEqualTo(String value) {
            addCriterion("zhixingshijian <>", value, "zhixingshijian");
            return (Criteria) this;
        }

        public Criteria andZhixingshijianGreaterThan(String value) {
            addCriterion("zhixingshijian >", value, "zhixingshijian");
            return (Criteria) this;
        }

        public Criteria andZhixingshijianGreaterThanOrEqualTo(String value) {
            addCriterion("zhixingshijian >=", value, "zhixingshijian");
            return (Criteria) this;
        }

        public Criteria andZhixingshijianLessThan(String value) {
            addCriterion("zhixingshijian <", value, "zhixingshijian");
            return (Criteria) this;
        }

        public Criteria andZhixingshijianLessThanOrEqualTo(String value) {
            addCriterion("zhixingshijian <=", value, "zhixingshijian");
            return (Criteria) this;
        }

        public Criteria andZhixingshijianLike(String value) {
            addCriterion("zhixingshijian like", value, "zhixingshijian");
            return (Criteria) this;
        }

        public Criteria andZhixingshijianNotLike(String value) {
            addCriterion("zhixingshijian not like", value, "zhixingshijian");
            return (Criteria) this;
        }

        public Criteria andZhixingshijianIn(List<String> values) {
            addCriterion("zhixingshijian in", values, "zhixingshijian");
            return (Criteria) this;
        }

        public Criteria andZhixingshijianNotIn(List<String> values) {
            addCriterion("zhixingshijian not in", values, "zhixingshijian");
            return (Criteria) this;
        }

        public Criteria andZhixingshijianBetween(String value1, String value2) {
            addCriterion("zhixingshijian between", value1, value2, "zhixingshijian");
            return (Criteria) this;
        }

        public Criteria andZhixingshijianNotBetween(String value1, String value2) {
            addCriterion("zhixingshijian not between", value1, value2, "zhixingshijian");
            return (Criteria) this;
        }

        public Criteria andYuanbenbuIsNull() {
            addCriterion("yuanbenbu is null");
            return (Criteria) this;
        }

        public Criteria andYuanbenbuIsNotNull() {
            addCriterion("yuanbenbu is not null");
            return (Criteria) this;
        }

        public Criteria andYuanbenbuEqualTo(String value) {
            addCriterion("yuanbenbu =", value, "yuanbenbu");
            return (Criteria) this;
        }

        public Criteria andYuanbenbuNotEqualTo(String value) {
            addCriterion("yuanbenbu <>", value, "yuanbenbu");
            return (Criteria) this;
        }

        public Criteria andYuanbenbuGreaterThan(String value) {
            addCriterion("yuanbenbu >", value, "yuanbenbu");
            return (Criteria) this;
        }

        public Criteria andYuanbenbuGreaterThanOrEqualTo(String value) {
            addCriterion("yuanbenbu >=", value, "yuanbenbu");
            return (Criteria) this;
        }

        public Criteria andYuanbenbuLessThan(String value) {
            addCriterion("yuanbenbu <", value, "yuanbenbu");
            return (Criteria) this;
        }

        public Criteria andYuanbenbuLessThanOrEqualTo(String value) {
            addCriterion("yuanbenbu <=", value, "yuanbenbu");
            return (Criteria) this;
        }

        public Criteria andYuanbenbuLike(String value) {
            addCriterion("yuanbenbu like", value, "yuanbenbu");
            return (Criteria) this;
        }

        public Criteria andYuanbenbuNotLike(String value) {
            addCriterion("yuanbenbu not like", value, "yuanbenbu");
            return (Criteria) this;
        }

        public Criteria andYuanbenbuIn(List<String> values) {
            addCriterion("yuanbenbu in", values, "yuanbenbu");
            return (Criteria) this;
        }

        public Criteria andYuanbenbuNotIn(List<String> values) {
            addCriterion("yuanbenbu not in", values, "yuanbenbu");
            return (Criteria) this;
        }

        public Criteria andYuanbenbuBetween(String value1, String value2) {
            addCriterion("yuanbenbu between", value1, value2, "yuanbenbu");
            return (Criteria) this;
        }

        public Criteria andYuanbenbuNotBetween(String value1, String value2) {
            addCriterion("yuanbenbu not between", value1, value2, "yuanbenbu");
            return (Criteria) this;
        }

        public Criteria andQinhuaiIsNull() {
            addCriterion("qinhuai is null");
            return (Criteria) this;
        }

        public Criteria andQinhuaiIsNotNull() {
            addCriterion("qinhuai is not null");
            return (Criteria) this;
        }

        public Criteria andQinhuaiEqualTo(String value) {
            addCriterion("qinhuai =", value, "qinhuai");
            return (Criteria) this;
        }

        public Criteria andQinhuaiNotEqualTo(String value) {
            addCriterion("qinhuai <>", value, "qinhuai");
            return (Criteria) this;
        }

        public Criteria andQinhuaiGreaterThan(String value) {
            addCriterion("qinhuai >", value, "qinhuai");
            return (Criteria) this;
        }

        public Criteria andQinhuaiGreaterThanOrEqualTo(String value) {
            addCriterion("qinhuai >=", value, "qinhuai");
            return (Criteria) this;
        }

        public Criteria andQinhuaiLessThan(String value) {
            addCriterion("qinhuai <", value, "qinhuai");
            return (Criteria) this;
        }

        public Criteria andQinhuaiLessThanOrEqualTo(String value) {
            addCriterion("qinhuai <=", value, "qinhuai");
            return (Criteria) this;
        }

        public Criteria andQinhuaiLike(String value) {
            addCriterion("qinhuai like", value, "qinhuai");
            return (Criteria) this;
        }

        public Criteria andQinhuaiNotLike(String value) {
            addCriterion("qinhuai not like", value, "qinhuai");
            return (Criteria) this;
        }

        public Criteria andQinhuaiIn(List<String> values) {
            addCriterion("qinhuai in", values, "qinhuai");
            return (Criteria) this;
        }

        public Criteria andQinhuaiNotIn(List<String> values) {
            addCriterion("qinhuai not in", values, "qinhuai");
            return (Criteria) this;
        }

        public Criteria andQinhuaiBetween(String value1, String value2) {
            addCriterion("qinhuai between", value1, value2, "qinhuai");
            return (Criteria) this;
        }

        public Criteria andQinhuaiNotBetween(String value1, String value2) {
            addCriterion("qinhuai not between", value1, value2, "qinhuai");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIsNull() {
            addCriterion("ordernumber is null");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIsNotNull() {
            addCriterion("ordernumber is not null");
            return (Criteria) this;
        }

        public Criteria andOrdernumberEqualTo(Integer value) {
            addCriterion("ordernumber =", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotEqualTo(Integer value) {
            addCriterion("ordernumber <>", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberGreaterThan(Integer value) {
            addCriterion("ordernumber >", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("ordernumber >=", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberLessThan(Integer value) {
            addCriterion("ordernumber <", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberLessThanOrEqualTo(Integer value) {
            addCriterion("ordernumber <=", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIn(List<Integer> values) {
            addCriterion("ordernumber in", values, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotIn(List<Integer> values) {
            addCriterion("ordernumber not in", values, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberBetween(Integer value1, Integer value2) {
            addCriterion("ordernumber between", value1, value2, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotBetween(Integer value1, Integer value2) {
            addCriterion("ordernumber not between", value1, value2, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createtime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createtime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createtime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createtime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createtime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createtime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createtime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createtime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createtime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createtime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createtime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createtime not between", value1, value2, "createtime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}